import ProxyInterface from '../proxy-interface';
import { ProjectPageModel } from '../model/projects';

class ProjectPageProxy implements ProxyInterface<ProjectPageModel> {
  private projectPage = new ProjectPageModel()

  constructor (responseData) {
    let data = responseData || responseData
    Object.assign<ProjectPageModel, ProjectPageModel>(this.projectPage, data)
  }

  public getModel (): ProjectPageModel {
    return this.projectPage
  }
}

export {
  ProjectPageProxy
}
